package com.myself.mybatiswechat;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:AwakeningCode
 * @Date: Created in 10:23 2018\2\28 0028
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping(value = "/hello",method = RequestMethod.GET)
    public String hello(){
        return "Hello SpringBoot!";
    }

}
